package com.sdry.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sdry.annotation.BaseService;
import com.sdry.base.BaseServiceImpl;
import com.sdry.entity.PartOutOrder;
import com.sdry.entity.PartOutOrderExample;
import com.sdry.mapper.PartOutOrderMapper;
import com.sdry.service.PartOutOrderService;


/**
 * 
* @Title: PartOutOrderServiceImpl.java
* @Package com.sdry.service.impl
* @Description: 出库
* @author cb
* @date 2018年8月1日
* @version V1.0
 */
@Service
@Transactional
@BaseService
public class PartOutOrderServiceImpl extends BaseServiceImpl<PartOutOrderMapper, PartOutOrder, PartOutOrderExample> implements PartOutOrderService{

	@SuppressWarnings("unused")
	private static final Logger LOGGER = LoggerFactory.getLogger(PartOutOrderServiceImpl.class);

	@Autowired
	PartOutOrderMapper partOutOrderMapper;

	@Override
	public int delete(long parseLong) {
		return partOutOrderMapper.deleteByPrimaryKey(parseLong);
	}

	@Override
	public List<PartOutOrder> selectAll(Map<String, Object> map) {
		return partOutOrderMapper.selectAll(map);
	}

	
}
